#!/bin/bash

function get_partitions
{
	df "$@" | sed -r "s/ +/\t/g" | sed -r "s/0x0a/0x0d/g" | cut -f 1 
}

CMD=get_$1;
shift 1;
$CMD "$@"
    